package com.construction.api.controller;

import com.construction.api.config.annotation.ValidToken;
import com.construction.api.controller.usual.UsualController;
import com.construction.api.domain.dto.StaffTypeDTO;
import com.construction.api.domain.entity.StaffType;
import com.construction.api.service.IService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author dybin
 * @Date: 2021-07-04 15:50
 */
@ValidToken
@RestController
@RequestMapping("/api/staff-type")
public class StaffTypeController extends UsualController<StaffType, Long, StaffTypeDTO> {

    public StaffTypeController(IService<StaffType, Long, StaffTypeDTO> iService) {
        super(iService);
    }
}
